package fi.foyt.cs.persistence.domainmodel.task;

import javax.persistence.Cacheable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

@Entity
@Inheritance (strategy = InheritanceType.TABLE_PER_CLASS)
@Cacheable
public class GeneralTask extends Task {

  public Long getLocaleElementId() {
    return localeElementId;
  }
  
  public void setLocaleElementId(Long localeElementId) {
    this.localeElementId = localeElementId;
  }
  
  @Column (nullable = false)
  private Long localeElementId;
  
  // Rewards
}
